package pl.edu.agh.neuraleconomy.model.simulation;

import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import pl.edu.agh.neuraleconomy.model.base.BaseModel;

import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "simulation")
@Data
@EqualsAndHashCode(callSuper = true)
public class Simulation extends BaseModel{
	@DatabaseField(canBeNull = false, dataType = DataType.DATE)
	protected Date startDate;
	@DatabaseField(canBeNull = false, dataType = DataType.DATE)
	protected Date currentDate;
	@DatabaseField(canBeNull = false)
	protected BigDecimal startMoney;
	@DatabaseField(canBeNull = false)
	protected BigDecimal currentMoney;
	@DatabaseField(canBeNull = false, unique = true)
	protected String name;

}
